package com.alumni_circle.core.entity.rbac.response;

import lombok.Data;

import java.io.Serializable;

/**
 * @author 龙小虬
 * @since 2020-08-05 19:06
 */
@Data
public class RoleModel<T> implements Serializable {

    private T role;

    private T userInfo;

    public RoleModel(T role,T userInfo){
        this.role = role;
        this.userInfo = userInfo;
    }

    public RoleModel(T role){
        this.role = role;
    }
}
